<html>
<head>
    <title>Register.</title>
</head>

<body>
<body bgcolor = "#EEF2F7">

<IMG SRC = "http://localhost:8000/media/newBanner.jpg" width = "100%" height = "200">
    
    <font color="#3860BB"><HR><h2><center>Register User</center></h2><HR>

<pre>
	{% ifequal status "error" %}
        <ul>{{error}}</ul>
    {% endifequal %}
       <form action="/regis_success/" method="POST"><h3>
        User Name  :        <input type="text" name="userName">
        Select Role :		<select name = "select_role">
		<option value="">-----------</option>
		<option value="admin">Admin</option>
  		<option value="student">Student</option>
  		<option value="teacher">Teacher</option>
        		</select>

      
        <input type="submit" value="Register"></font> <FORM><INPUT TYPE="BUTTON" VALUE="Go Back" ONCLICK="history.go(-1)"></FORM>
        
        <a href="/"><input type="button" value="Logout"></a>
</pre>   
    </form>
</ul>
</body>
</html>
